<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <script type='text/javascript' src='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
CONTROL = '<?php echo $GLOBALS['user']['CONTROL'];?>';
METH = '<?php echo $GLOBALS['user']['METH'];?>';
GROUP = '<?php echo $GLOBALS['user']['GROUP'];?>';
TPL = '<?php echo $GLOBALS['user']['TPL'];?>';
CONTROLTPL = '<?php echo $GLOBALS['user']['CONTROLTPL'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
HTTPREFERER = '<?php echo $GLOBALS['user']['HTTPREFERER'];?>';
</script>
    <!-- 分类属性  -->
     <script src='http://127.0.0.1/damai/./App/App/Admin/Tpl/Goods/js/ajax.attr.js'></script>
        <!-- 座位 -->
     <script src='http://127.0.0.1/damai/./App/App/Admin/Tpl/Goods/js/ajax.seat.js'></script>
     <!-- 全部座位和序号管理 -->
      <script src='http://127.0.0.1/damai/./App/App/Admin/Tpl/Goods/js/ajax.seatsort.js'></script>
      <!-- 商品货号处理，货号前缀为分类的英文 -->
      <script src='http://127.0.0.1/damai/./App/App/Admin/Tpl/Goods/js/ajax.language.js'></script>
      <!-- 对价格和票数是否相等进行判断 -->
      <script src='http://127.0.0.1/damai/./App/App/Admin/Tpl/Goods/js/ajax.pricecount.js'></script>
    <link href='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/css/bootstrap.min.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/bootstrap.min.js'></script>
                <!--[if lte IE 6]>
                <link rel="stylesheet" type="text/css" href="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/ie6/css/bootstrap-ie6.css">
                <![endif]-->
                <!--[if lt IE 9]>
                <script src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/html5shiv.min.js"></script>
                <script src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/respond.min.js"></script>
                <![endif]-->

    <link type="text/css" rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Admin/Tpl/Goods/css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="title-header">添加商品</div>
    <form action="<?php echo U('Goods/add_goods');?>" method="post" class="form-inline hd-form" id="add-cate-form">
     <table class="table1" >     
        <tr>
                <th class="w100">商品名称</th>
                <td  class="w100">
                    <input type="text" value="<?php echo $goodsData['goodsname'];?>" name="goodsname" class="w200"/> 
                </td>
                <td><span id="hd_catename"></span></td>
        </tr>
        <tr>
                <th class="w100">副标题</th>
                <td  class="w100">
                    <input type="text" value="<?php echo $goodsData['title'];?>" name="title" class="w200"/> 
                </td>
                <td><span id="hd_catename"></span></td>
        </tr>
        </table>
        <table class="table1">       
            <tr >
                <th class="w100">所属分类</th>
                <td>
                    <select name="cateid" class="w200" id="cate">
                        <option value="0">选择分类</option>
                    <?php if(is_array($categoryDate)):?><?php  foreach($categoryDate as $v){ ?>
                        <option value="<?php echo $v['cateid'];?>"  <?php if($v['cateid'] == $goodsData['cateid']){?>selected="selected"<?php }?> ><?php echo $v['_name'];?></option>
                    <?php }?><?php endif;?>
                    </select>
                </td>
                <td></td>
            </tr>
        </table>
    <table class="table1 language"></table>
        <table class="table1">
             <tr>
                <th class="w100">商品图片</th>
                <td  class="w100">
                   <link rel="stylesheet" type="text/css" href="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/uploadify.css" />
            <script type="text/javascript" src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/jquery.uploadify.min.js"></script>
            <script type="text/javascript">
            var HDPHP_CONTROL         = "http://127.0.0.1/damai/index.php?a=Admin&c=Goods&goodsid=&m=keditor_upload&g=App";
            var UPLOADIFY_URL    = "http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/";
            var HDPHP_UPLOAD_THUMB    ="";
HDPHP_UPLOAD_TOTAL = 0</script>
            <script type="text/javascript" src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/hd_uploadify.js"></script>
<script type="text/javascript">
    $(function() {
        hd_uploadify_options.removeTimeout  =0;
        hd_uploadify_options.fileSizeLimit  ="5MB";
        hd_uploadify_options.fileTypeExts   ="*.jpg;*.png;*.gif";
        hd_uploadify_options.queueID        ="hd_uploadify_upload_queue";
        hd_uploadify_options.showalt        =true;
        hd_uploadify_options.uploadLimit    =5;
        hd_uploadify_options.input_type    ="input";
        hd_uploadify_options.elem_id    ="";
        hd_uploadify_options.upload_img_max_width    ="1000";
        hd_uploadify_options.upload_img_max_    ="1000";
        hd_uploadify_options.success_msg    ="正在上传...";//上传成功提示文字
        hd_uploadify_options.formData ={water : "0",upload_img_max_width:"1000",upload_img_max_height:"1000",fileSizeLimit:5242880, someOtherKey:1,PHPSESSID:"fgkh0bto7shk1todcjnh8d7m71",upload_dir:"",hdphp_upload_thumb:""};
        hd_uploadify_options.thumb_width =200;
        hd_uploadify_options.thumb_height          =150;
        hd_uploadify_options.uploadsSuccessNums = 0;
        $("#hd_uploadify_upload").uploadify(hd_uploadify_options);
        });
</script>
<input type="file" name="up" id="hd_uploadify_upload"/>
<div class="hd_uploadify_upload_msg num_upload_msg" style="display:block">
<input type="checkbox" id="add_upload_water" uploadify_id="hd_uploadify_upload" /><strong style="color:#03565E">是否添加水印</strong><span></span>单文件最大<strong>5MB，允许上传类型*.jpg;*.png;*.gif</strong>
</div>

<div id="hd_uploadify_upload_queue"></div>
<div class="hd_uploadify_upload_files uploadify_upload_files" input_file_id ="hd_uploadify_upload">
    <ul><?php
            $_uploadStr="";//编译文件需要的PHP字符串表示
            $upFileId=0;//第几张图片
            if(!empty($this->vars["imagedata"])){
            //读取图片数据
            foreach ($this->vars["imagedata"] as $f) {
                $upFileId++;
                $url = 'http://127.0.0.1/damai/' . $f["path"];
        $_uploadStr.="<li><div class='delUploadFile'></div>";
        $_uploadStr.="<img src=" . $url . " path=" . $f["path"] . " width='200px' height='150px'/>";
        //显示图片alt
        if(isset($f["alt"])){
        $_uploadStr.="<div class='upload_title'>
<input type='text'  value='".$f["alt"]."' name='upload[".$upFileId."][alt]'>
</div>";
        }
        //显示原图
                $_uploadStr.="<input t='file' type='hidden' name='upload[".$upFileId."][path]' value='" . $f["path"] . "'/>";
                //缩略图
                if(isset($f["thumb"])){
                    foreach($f["thumb"] as $thumbFile){
                        $_uploadStr.="<input t='file' type='hidden' name='upload[".$upFileId."][thumb][]' value='" . $thumbFile. "'/>";
                    }
                }
                $_uploadStr.="</li>";
            }
            }
        echo $_uploadStr;
        ;
        ?></ul>
    <div style="clear:both;"></div>
</div>
                </td>
                <td><span id="hd_catename"></span></td>
            </tr>
            <tr>
                <th class="w100">所属影院</th>
                <td>
                    <select name="cinemaid" id="cinema" class="w200">
                    <option value="0">请选择影院</option>
                    <?php if(is_array($cinemaData)):?><?php  foreach($cinemaData as $v){ ?>
                        <option value="<?php echo $v['cinemaid'];?>" <?php if($v['cinemaid'] == $oldcinemaData['cinemaid']){?>selected="selected"<?php }?> ><?php echo $v['cinemaname'];?></option>
                    <?php }?><?php endif;?>
                    </select>
                </td>
                <td></td>
            </tr>
            </table>
      
            <!-- 座位管理 -->
            <table class="seatname table1">
            	<tr>
            	<th width='120' class='w100'>播放地址</th><td>
            	<select name='seatid' id='seatname'>
            	<option value='<?php echo $oldseatData['seatid'];?>'> <?php echo $oldseatData['seatname'];?>
            	</option><select>
            	</td>
            	</tr>
            </table>
                  <script type="text/javascript">

                $(function(){
                    // alert('df');
                    $('#yes').click(function(){
                        // 如果选是，就显示座位
                        $('.seatsort').fadeIn();
                         $('#priceandtime').fadeOut();
                       

                    })
                    $('#no').click(function(){
                        // 如果选否，就不隐藏座位 
                       $('.seatsort').fadeOut();
                       $('#priceandtime').fadeIn();
                    })
                    



                })

                </script>
            <table class="table1">
             <tr>
                <th class="w100">是否支持选座</th>
                <td>
                   是<input type="radio" value="1" name="is_seat" id="yes" <?php if($goodsData['is_seat'] == 1){?> checked="checked"<?php }?>  />
                   否<input type="radio" value="0" name="is_seat"  id="no" <?php if($goodsData['is_seat'] == 0){?> checked="checked"<?php }?> />
                </td>
                <td><span id="hd_catetytle"></span></td>
            </tr>
            </table>
              <script type="text/javascript">

        $(function(){

             $('#add_tr').live('click',function() {
                //点击增加规格
             var obj = $(this).parents('tr').clone();
             $(this).parents('tr').after(obj);

            });
             //点击删除规格
            $('#del_tr').live('click',function(){
                // alert('dfs');
                $(this).parents('tr').remove();
                  // $(this).remove();

            })
        })

        </script>





<?php if($goodsData['is_seat'] == 0){?>
	<?php if(is_array($oldGoodstimedata)):?><?php  foreach($oldGoodstimedata as $ktime=>$vtime){ ?>
        <table class="table1" style="border:1px solid red;">
            <tr id="priceandtime" >
                <th width="100">价格/时间</th>
                <td>
                    <div id="goodsprice">
                    <!-- <p title="客户选择时显示的时间">时间别名</p>
                       <span><input type="text"  name="timename0[]" title="客户选择时显示的时间"/></span> -->
                       <p title="时间">时间</p>
                       <span><input type="text" readonly="readonly" class="updatetime" title="实际时间" name="time0[]" value="<?php echo $vtime['time'];?>"/></span>
                       <script>
                     $('.updatetime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});
                 </script>
                        <p title="实际价格">商品价格</p>
                        <span><input type="text" title="实际价格" name="price0[]" id="pricedata" value="<?php echo $vtime['goodsprice'];?>" /></span>
                        <p title="客户选择时显示的名称">库存票务</p>
                        <span><input type="text" title="客户选择时显示的名称" value="<?php echo $vtime['countticket'];?>" name="countticket[]" id="countticket" /></span>
                        <!-- ajax返出的信息 -->
                        <p class="mathinfo"></p>
                       
                    </div>
                </td>
                <td width="60px"><a href="javascript:;" id="add_tr">增加</a></td>
                <td width="60px"><a href="javascript:;" id="del_tr">减少</a></td>
            </tr>
        </table>
       <?php }?><?php endif;?>
   <?php  }else{ ?>    
    <table class="table1" style="border:1px solid red;">  </table>
  <?php }?>             <!-- 座位号编号  -->
            <?php if($goodsData['is_seat'] == 1){?>
		        <table class="seatsort table1">
		        	<tr><th>时间</th><td><input type='text' value='时间' readonly='readonly' class='seatTime' name='time1' /></td></tr><tr><th width='120' class='w100'>座位=》</th><td id='sortsytle'><div class='seatwidth'><p>1排1号</p> <p><input type='text' class='50' value='价格' class='setprice' name='price1[]' /></p><input type='hidden' name='seatname[]' value='1排1号' />                                   <script>                                    $('.seatTime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});                                 </script>                            </div></td></tr>
		        </table>
       	 <?php  }else{ ?>
       	 <!-- 座位号编号  -->
        <table class="seatsort table1"></table>
          <?php }?>       
            <!-- 属性表格，JS添加 -->
         <table class="shop_attr table1"></table>
         <!-- 城市表格，JS添加 -->
          <table class="shop_city table1"></table>
            <!-- 规格表格，JS添加 -->
         <table class="shop_stand table1" id="stand"></table>
             <!-- 支持表格，JS添加 -->
         <table class="shop_support table1"></table>
            <table class="table1">
            <tr>
                <th class="w100">上架时间</th>
                <td>
                <input type="hidden" name="support[]" value=""/>
                <input type="text" readonly="readonly" id="ontime" title="上架时间" name="ontime" value="<?php echo date('Y/m/d h:i:s');?>" />
                </td>
                 <script>
                     $('#ontime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});
                 </script>
                </tr>
                <tr>
                <th class="w100">活动开始时间</th>
                <td>
                <input type="hidden" name="support[]" value=""/>
                <input type="text" readonly="readonly" id="startime" title="开始时间" name="startime" value="<?php echo date('Y/m/d h:i:s');?>" />
                </td>
                 <script>
                     $('#startime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});
                 </script>
                </tr>
                
                <th class="w100">活动结束时间</th>
                <td>
                <input type="text" readonly="readonly" id="overtime" title="结束时间" name="overtime" value="<?php echo date('Y/m/d h:i:s');?>" />
                </td>
                 <script>
                     $('#overtime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});
                 </script>
                </tr>
             </table>
<!--             <tr>
                <th class="w100">会员价</th>
                <td  class="w100">
                    <input type="text" name="goods" class="w200"/> 
                </td>
                <td><span id="hd_catename"></span></td>
            </tr>   --> 
           <!--  <tr>
                <th class="w100">价格</th>
                <td  class="w100">
                    <input type="text" name="pricerange" class="w200"/> 
                </td>
                <td><span id="hd_catename">如果有多个价格，请用逗号隔开</span></td>
            </tr> -->
            <!-- <tr>
                <th class="w100">时间</th>
                <td  class="w100">
                    <input type="text" name="timerange" class="w200"/> 
                </td>
                <td><span id="hd_catename">如果有多个时间，请用逗号隔开</span></td>
            </tr> -->
            <table class="table1">
           <!--  <tr>
                <th class="w100">返回积分数</th>
                <td  class="w100">
                    <input type="text" name="backintegral" class="w200"/> 
                </td>
                <td><span id="hd_catename"></span></td>
            </tr> -->
            </table>
            <table class="table1">
            <tr>
                <th class="w100">详细描述</th>
                    <!-- 详细描述编辑器 -->
                <td>
                                       
                </td>
                <td><span id="hd_catedes"></span></td>
            </tr>
            <tr>
                <th class="w100"></th>
                    <!-- 详细描述编辑器 -->
                <td>
                    <script type="text/javascript" charset="utf-8" src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Ueditor/ueditor.config.js"></script><script type="text/javascript" charset="utf-8" src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Ueditor/ueditor.all.min.js"></script><script type="text/javascript">UEDITOR_HOME_URL="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Ueditor/"</script><script id="hd_introduce" name="introduce" type="text/plain"></script>
        <script type='text/javascript'>
        $(function(){
                var ue = UE.getEditor('hd_introduce',{
                imageUrl:'http://127.0.0.1/damai/index.php?a=Admin&c=Goods&goodsid=&m=ueditor_upload&g=App&water=0&uploadsize=2000000&maximagewidth=false&maximageheight=false'//处理上传脚本
                ,zIndex : 0
                ,autoClearinitialContent:false
                ,initialFrameWidth:"600" //宽度1000
                ,initialFrameHeight:"200" //宽度1000
                ,autoHeightEnabled:false //是否自动长高,默认true
                ,autoFloatEnabled:false //是否保持toolbar的位置不动,默认true
                ,maximumWords:2000 //允许的最大字符数
                ,readonly : false //编辑器初始化结束后,编辑区域是否是只读的，默认是false
                ,wordCount:true //是否开启字数统计
                ,imagePath:''//图片修正地址
                , toolbars:[
            ['fullscreen', 'source', '|', 'undo', 'redo', '|',
                'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
                'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
                'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
                'directionalityltr', 'directionalityrtl', 'indent', '|',
                'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
                'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
                'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe','insertcode', 'pagebreak', 'template', 'background', '|',
                'horizontal', 'date', 'time', 'spechars',  'wordimage', '|',
                'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
                'print', 'preview', 'searchreplace']
            ]//工具按钮
                , initialStyle:'p{line-height:1em; font-size: 14px; }'
            });
        })
        </script>                      
                </td>
                <td><span id="hd_catedes"></span></td>
            </tr>
            </table>
             <!-- 商品购买说明编辑器 -->
            <table class="table1">
            <tr>
                <th class="w100">商品购买说明</th>
                <td></td>
            </tr>
           <tr>
                <th class="w100"></th>
                <td>
                      <script id="hd_illustrate" name="illustrate" type="text/plain"></script>
        <script type='text/javascript'>
        $(function(){
                var ue = UE.getEditor('hd_illustrate',{
                imageUrl:'http://127.0.0.1/damai/index.php?a=Admin&c=Goods&goodsid=&m=ueditor_upload&g=App&water=0&uploadsize=2000000&maximagewidth=false&maximageheight=false'//处理上传脚本
                ,zIndex : 0
                ,autoClearinitialContent:false
                ,initialFrameWidth:"600" //宽度1000
                ,initialFrameHeight:"200" //宽度1000
                ,autoHeightEnabled:false //是否自动长高,默认true
                ,autoFloatEnabled:false //是否保持toolbar的位置不动,默认true
                ,maximumWords:2000 //允许的最大字符数
                ,readonly : false //编辑器初始化结束后,编辑区域是否是只读的，默认是false
                ,wordCount:true //是否开启字数统计
                ,imagePath:''//图片修正地址
                , toolbars:[
            ['fullscreen', 'source', '|', 'undo', 'redo', '|',
                'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
                'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
                'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
                'directionalityltr', 'directionalityrtl', 'indent', '|',
                'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
                'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
                'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe','insertcode', 'pagebreak', 'template', 'background', '|',
                'horizontal', 'date', 'time', 'spechars',  'wordimage', '|',
                'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
                'print', 'preview', 'searchreplace']
            ]//工具按钮
                , initialStyle:'p{line-height:1em; font-size: 14px; }'
            });
        })
        </script> 
                </td>
            </tr>
            </table>
             <!-- 商品购买方式编辑器 -->
            <table class="table1">
            <tr>
                <th class="w100">付款方式</th>
                <td> </td>          
            </tr>
            <tr>
                <th class="w100"></th>
                <td>
                     <script id="hd_howpay" name="howpay" type="text/plain"></script>
        <script type='text/javascript'>
        $(function(){
                var ue = UE.getEditor('hd_howpay',{
                imageUrl:'http://127.0.0.1/damai/index.php?a=Admin&c=Goods&goodsid=&m=ueditor_upload&g=App&water=0&uploadsize=2000000&maximagewidth=false&maximageheight=false'//处理上传脚本
                ,zIndex : 0
                ,autoClearinitialContent:false
                ,initialFrameWidth:"600" //宽度1000
                ,initialFrameHeight:"200" //宽度1000
                ,autoHeightEnabled:false //是否自动长高,默认true
                ,autoFloatEnabled:false //是否保持toolbar的位置不动,默认true
                ,maximumWords:2000 //允许的最大字符数
                ,readonly : false //编辑器初始化结束后,编辑区域是否是只读的，默认是false
                ,wordCount:true //是否开启字数统计
                ,imagePath:''//图片修正地址
                , toolbars:[
            ['fullscreen', 'source', '|', 'undo', 'redo', '|',
                'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
                'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
                'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
                'directionalityltr', 'directionalityrtl', 'indent', '|',
                'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
                'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
                'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe','insertcode', 'pagebreak', 'template', 'background', '|',
                'horizontal', 'date', 'time', 'spechars',  'wordimage', '|',
                'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
                'print', 'preview', 'searchreplace']
            ]//工具按钮
                , initialStyle:'p{line-height:1em; font-size: 14px; }'
            });
        })
        </script>                
                </td>
            </tr>
          
        </table>
        
        <div class="position-bottom">
            <input type="submit" class="hd-success" value="修改"/>
        </div>
        <table class="table2">
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        </table>
    </form>
</div>
</body>
</html>